package com.wisdytech.linkdcs.equipment.dao;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.wisdytech.linkdcs.equipment.model.AlarmRecord;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author Yanghu
 * @since 2017-09-16
 */
public interface IEqAlarmRecordDao extends BaseMapper<AlarmRecord> {
    
    /**
     * 
     * <p>Description: 获取告警记录</p>
     * @param params
     * @return
     */
    List<AlarmRecord> listAlarmRecords(Map<String,Object> params);
    
    /**
     * 
     * <p>Description: TODO</p>
     * @param params
     * @return
     */
    Map<String,Object>  countEqAlarmTime(Map<String,String> params);
    
    /**
     * 
     * <p>Description: TODO</p>
     * @param params
     * @return
     */
    List<Map<String,Object>> countEqAlarmAnalysis(Map<String,String> params);

}